package com.twotiger.and.bean;

import java.io.Serializable;

import com.twotiger.and.util.StringUtils;

/**
 * Created by victor on 2014/10/15 0015.
 */
public class DealRecord implements Serializable {
    private static final long serialVersionUID = 1 << 2L;
    public String id;
    public String nid;
    public String name;
    public double yield;
    public double awardYield;
    public double awardCash;
    public double amount;
    public double status;
    public double ctime;

    public String getNid() {
        if (StringUtils.isEmpty(nid)) {
            return " ";
        }
        return nid;
    }

    public void setNid(String nid) {
        this.nid = nid;
    }

    public String getName() {
        if (StringUtils.isEmpty(name)) {
            return " ";
        }
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getYield() {
        return yield;
    }

    public void setYield(double yield) {
        this.yield = yield;
    }

    public double getAwardYield() {
        return awardYield;
    }

    public void setAwardYield(double awardYield) {
        this.awardYield = awardYield;
    }

    public double getAwardCash() {
        return awardCash;
    }

    public void setAwardCash(double awardCash) {
        this.awardCash = awardCash;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public double getStatus() {
        return status;
    }

    public void setStatus(double status) {
        this.status = status;
    }

    public double getCtime() {
        return ctime;
    }

    public void setCtime(double ctime) {
        this.ctime = ctime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
